package com.greenentity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Transient;

/**
 * Created by admin on 2018/5/28.
 */
@Entity
public class DataDictionary {
    /**
     * id : 519
     * code : 2001
     * value : 主控室
     * type : eqpt_area
     */
    @Id
    private Long id;
    private String code;
    private String value;
    private String type;
    @Transient
    private boolean select=false;

    @Generated(hash = 742332141)
    public DataDictionary(Long id, String code, String value, String type) {
        this.id = id;
        this.code = code;
        this.value = value;
        this.type = type;
    }

    @Generated(hash = 871282283)
    public DataDictionary() {
    }

    public boolean isSelect() {
        return select;
    }

    public void setSelect(boolean select) {
        this.select = select;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
